package priv.work1;

import java.util.Map;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;


public class Main {

	public static void main(String[] args) {
		ApplicationContext context = new AnnotationConfigApplicationContext(XiaoMing.class);
		Map<String, XiaoMing> beansOfType = context.getBeansOfType(XiaoMing.class);
		System.out.println(beansOfType);
	}

}
